import {http, Method} from '@/utils/request.js';

export function addStock(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/addStock`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/supplierProList
export function supplierProList(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/supplierProList`,
    method: "POST",
	data
  });
}


export function supplierStoreProList(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/supplierStoreProList`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/addPro
export function addPro(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/addPro`,
    method: "POST",
	data
  });
}
// /yzfl/supplierAdmin/proDetails
export function proDetails(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/proDetails`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/updPro
export function updPro(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/updPro`,
    method: "POST",
	data
  });
}

// /yzfl/user/supplierApply
export function supplierApply(data) {
  return http.request({
    url: `/yzfl/user/supplierApply`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/supplierData
export function supplierData(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/supplierData`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/updData
export function updData(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/updData`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/proOut

export function proOut(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/proOut`,
    method: "POST",
	data
  });
}


// /yzfl/supplierAdmin/supplierOrderList
export function supplierOrderList(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/supplierOrderList`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/orderDetails
export function orderDetails(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/orderDetails`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/sendOrder
export function sendOrder(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/sendOrder`,
    method: "POST",
	data
  });
}


// /yzfl/supplierAdmin/orderRefund 
export function orderRefund(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/orderRefund`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/balanceWithdrawal
export function balanceWithdrawal(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/balanceWithdrawal`,
    method: "POST",
	data
  });
}


// /yzfl/supplierAdmin/withdrawalList
export function withdrawalList(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/withdrawalList`,
    method: "POST",
	data
  });
}

// /yzfl/supplierAdmin/expressList
export function expressList(data) {
  return http.request({
    url: `/yzfl/supplierAdmin/expressList`,
    method: "POST",
	data
  });
}
